@/*
图片参数的说明:
name : 名称
id : 图片的id
@*/
<div class="form-group">
    <label class="col-sm-3 control-label head-scu-label">${name}</label>
    <div class="col-sm-4">
        <div id="${id}PreId">
            <div>
                <img @if(isEmpty(width) || isEmpty(height) ){
                        width="200px" height="200px"
                     @}else{
                     width="${width}" height="${height}"
                     @}

                      @if(isEmpty(avatarImg)){
                      src="${ctxPath}/static/img/twdefault.png">
            </div>
            @}else{
                src="${ctxPath}${avatarImg}">
        </div>
            @}
        @if(isEmpty(upload)){
           <span style="color: red; margin-right: 2%"><sup>*</sup>请上传小于5m的图片</span>
        @}
    </div>
</div>
<div class="col-sm-2">
    @if(isEmpty(upload)){
        <div class="head-scu-btn upload-btn" id="${id}BtnId">
            <i class="fa fa-upload"></i>&nbsp;上传
        </div>
    @}

</div>
    <input type="hidden" id="${id}" value="${avatarImg}"/>
</div>
@if(isNotEmpty(underline) && underline == 'true'){
    <div class="hr-line-dashed"></div>
@}
